package com.android.resetfile.controller;

import com.android.resetfile.view.ImageViewCellViews;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.*;
import javafx.scene.layout.Pane;
import javafx.util.Callback;

import java.net.URL;
import java.util.Observable;
import java.util.ResourceBundle;

/**
 * Created by Administrator on 14-10-10.
 */
public class FunctionController extends TabPane implements Initializable {
    @FXML
    Button search_btn;
    @FXML
    TextField search_txt;
    @FXML
    TableView tab_view;
    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {

    }
   public void search()
   {
       ObservableList<TableColumn> observableList =  tab_view.getColumns();
       observableList.get(0).setCellFactory(ImageViewCellViews.forTableColumn());
   }
}
